import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
// import Home from '../pages/Home/home'

// import orderOne from '../pages/order/orderOne/homePage'
// import orderTwo from '../pages/order/orderTwo/Theader'
// import orderThree from '../pages/order/orderThree/theader'
// import orderFour from '../pages/order/orderFour/fheader'
// import orderFive from '../pages/order/orderFive/header'
// import mainright from '../pages/order/orderFive/mainRight'
// import healthinfo from '../pages/healthInfo/health'
// import news from '../pages/News/health'
// import htinfo from '../pages/healthInfo/healthtt'
import Ward from '../pages/WardRound/WardRound'
import hoshome from '../pages/HosHome/hoshome'
// import satisfaction from '../pages/Satisfaction/satisfaction'
// // import WardRound from '@/pages/Ward-round/wardRound'
// import InforM from '../pages/InforM/InforM'
import CostQuerys from '@/pages/Cost-Query/CostQuerys'
// import version from '../pages/versionNumber/version'
// import WardApp from '../pages/WardRoundApp/WardAPP'
// import NursingWork from '../pages/NursingWork/NursingWork'
import Clock from '@/pages/Clock/Clock'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(Router)
Vue.use(Antd)
Vue.use(ElementUI)

export default new Router({
  routes: [{
    path: '/',
    name: 'hoshome',
    component: hoshome
  },
  {
    path: '/InforM',
    name: 'InforM',
    // component: InforM
    component: resolve => require(['../pages/InforM/InforM'], resolve)
  },
  {
    path: '/Ward',
    name: 'Ward',
    component: Ward
    //   component: resolve => require(['../pages/WardRound/WardRound'], resolve)
  },
  {
    path: '/painSurvey',
    name: 'painSurvey',
    component: resolve => require(['../pages/painSurvey/index'], resolve)
  },
  {
    path: '/painLevel',
    name: 'painLevel',
    component: resolve => require(['../pages/painSurvey/painLevel'], resolve)
  },
  {
    path: '/painResult',
    name: 'painResult',
    component: resolve => require(['../pages/painSurvey/painResult'], resolve)
  },
    // {
    //   path: '/Ward',
    //   name: 'Ward',
    //   // component: Ward
    //   component: resolve => require(['../pages/WardRound/WardRound'], resolve)
    // },
  {
    path: '/CostQuerys',
    name: 'CostQuerys',
    component: CostQuerys
    // component: resolve => require(['@/pages/Cost-Query/CostQuerys'], resolve)
  },
  {
    path: '/satisfaction',
    name: 'satisfaction',
    // component: satisfaction
    component: resolve => require(['../pages/Satisfaction/satisfaction'], resolve)
  },
  {
    path: '/orderOne',
    name: 'orderOne',
    // component: orderOne
    component: resolve => require(['../pages/order/orderOne/homePage'], resolve)
  },
  {
    path: '/orderTwo',
    name: 'orderTwo',
    // component: orderTwo,
    component: resolve => require(['../pages/order/orderTwo/Theader'], resolve),
    children: [{
      path: '/orderTwo/mainright/:id',
      // component: mainright
      component: resolve => require(['../pages/order/orderFive/mainRight'], resolve)
    }]
  },
  {
    path: '/orderThree',
    name: 'orderThree',
    // component: orderThree
    component: resolve => require(['../pages/order/orderThree/theader'], resolve)
  },
  {
    path: '/orderFour',
    name: 'orderFour',
    // component: orderFour
    component: resolve => require(['../pages/order/orderFour/fheader'], resolve)
  },
  {
    path: '/orderFive',
    name: 'orderFive',
    // component: orderFive,
    component: resolve => require(['../pages/order/orderFive/header'], resolve),
    children: [{
      path: '/orderFive/mainright',
      // component: mainright
      component: resolve => require(['../pages/order/orderFive/mainRight'], resolve)
    }]
  },
    // {
    //   path: '/healthinfo1',
    //   name: 'healthinfo1',
    //   // component: healthinfo
    //   component: resolve => require(['../pages/healthInfo/health'], resolve)
    // },
  {
    path: '/healthinfo',
    name: 'healthinfo',
    // component: healthinfo
    component: resolve => require(['../pages/healthInfo/healthcomm'], resolve)
  },
  {
    path: '/News',
    name: 'news',
    // component: news
    component: resolve => require(['../pages/News/news'], resolve)
  },
  {
    path: '/newsss',
    name: 'newsss',
    // component: news
    component: resolve => require(['../pages/News/newsss'], resolve)
  },
  {
    path: '/htinfo',
    name: 'htinfo',
    // component: htinfo
    component: resolve => require(['../pages/healthInfo/healthtt'], resolve)
  },
  {
    path: '/htvideo',
    name: 'htvideo',
    // component: htinfo
    component: resolve => require(['../pages/healthInfo/healthVideo'], resolve)
  },
  {
    path: '/version',
    name: 'version',
    // component: version
    component: resolve => require(['../pages/versionNumber/version'], resolve)
  },
  {
    path: '/NursingWork',
    name: 'NursingWork',
    // component: NursingWork
    component: resolve => require(['../pages/NursingWork/NursingWork'], resolve)
  },
  {
    path: '/Clock',
    name: 'Clock',
    component: Clock
  },
  {
    path: '/sign',
    name: 'sign',
    // component: orderOne
    component: resolve => require(['../pages/sign/index'], resolve)
  },
  {
    path: '/selfpaycode',
    name: 'selfpaycode',
    component: resolve => require(['../pages/PayCost/SelfPayCode'], resolve)
  },
  {
    path: '/selfpaypassword',
    name: 'selfpaypassword',
    component: resolve => require(['../pages/PayCost/SelfPayPassword'], resolve)
  },
  {
    path: '/prepaymentinfo',
    name: 'prepaymentinfo',
    component: resolve => require(['../pages/PayCost/PrepaymentInfo'], resolve)
  },
  {
    path: '/premoneyset',
    name: 'premoneyset',
    component: resolve => require(['../pages/PayCost/PreMoneySet'], resolve)
  },
  {
    path: '/sweepcodepay',
    name: 'sweepcodepay',
    component: resolve => require(['../pages/PayCost/SweepCodePay'], resolve)
  },
  {
    path: '/game',
    name: 'game',
    component: resolve => require(['../pages/games/Game'], resolve)
  },
  {
    path: '/bcbk',
    name: 'bcbk',
    component: resolve => require(['../pages/games/bcbk'], resolve)
  },
  {
    path: '/wzq',
    name: 'wzq',
    component: resolve => require(['../pages/games/wzq'], resolve)
  },
  {
    path: '/saolei',
    name: 'saolei',
    component: resolve => require(['../pages/games/saolei'], resolve)
  },
  {
    path: '/llk',
    name: 'llk',
    component: resolve => require(['../pages/games/llk'], resolve)
  }
  ]
})
